/*
 * Created by 18012 on 2018/4/14.
 * desc:
 */
package com.example.springboot.security.config;

import com.example.springboot.DemoApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.support.SpringBootServletInitializer;

public class ServletInitializer extends SpringBootServletInitializer {

    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
       return application.sources(DemoApplication.class);
    }

}